import request from '@/utils/request';

/***
 * 首页大额支出
 */

export const largePay = () => {
    return request({
        url: '/system/homePage/largePay',
        method: 'get',
    });
};

/***
 * 首页毛利统计
 */

export const grossProfitStatistics = (depdName) => {
    return request({
        url: `/system/homePage/grossProfitStatistics/${depdName}`,
        method: 'get',
    });
};

/***
 * 首页毛利前五
 */

export const grossProfitTopN = (depdName,topN) => {
    return request({
        url: `/system/homePage/grossProfitTopN/${depdName}/${topN}`,
        method: 'get',
    });
};
